#pragma once
#include "Transform.h"
#include "Assets.h"
#include "Box2D.h"
#include <string>
#include "Logger.h"

extern Logger* logger;

class Sprite : public Transform
{
public:
	Sprite();
	Sprite(int x, int y);
	~Sprite();

	int spriteWidth, spriteHeight;
	SDL_Texture* surface;
	SDL_Rect srcRect;
	std::string sprite_name; 

	b2Body* box2DBody;

	virtual void setPosition(int x, int y);
	virtual void MoveX(int);
	virtual void MoveY(int);
	virtual void Update();
};
